﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.ServiceBus.Model.Models
{
    /// <summary>
    /// 组织机构
    /// </summary>
    [SysTable]
    [Table("ESB.Organization")]
    public class Organization : Root<long>
    {
        /// <summary>
        /// 组织编码
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 组织中文名称
        /// </summary>
        public string? CNName { get; set; }
        /// <summary>
        /// 组织中文缩写
        /// </summary>
        public string? CNAbbr { get; set; }
        /// <summary>
        /// 组织英文名称
        /// </summary>
        public string? ENName { get; set; }
        /// <summary>
        /// 组织英文缩写
        /// </summary>
        public string? ENAbbr { get; set; }
        /// <summary>
        /// 组织邮箱
        /// </summary>
        public string? Email { get; set; }

    }
}
